//
//  SHDiscoverViewController.swift
//  SHWeibo01
//
//  Created by 卫平玉 on 16/7/19.
//  Copyright © 2016年 卫平玉. All rights reserved.
//

import UIKit

class SHDiscoverViewController: SHVisitorViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        if !isLogin {
            visitorView?.setupVisitorViewInfo("visitordiscover_image_message", title: "登录后，最新、最热微博尽在掌握，不再会与实事潮流擦肩而过")
            
            return
        }
        
        setupUI()
    }

    
    private func setupUI(){
        
        navigationItem.titleView = SHDiscoverSearchView()
    }
}
